/*****************************************************************************
*  Copyright Statement:
*  --------------------
*  This software is protected by Copyright and the information contained
*  herein is confidential. The software may not be copied and the information
*  contained herein may not be used or disclosed except with the written
*  permission of MediaTek Inc. (C) 2005
*
*  BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES
*  THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE")
*  RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO BUYER ON
*  AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES,
*  EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
*  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT.
*  NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE
*  SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR
*  SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH
*  THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO
*  NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'S
*  SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM.
*
*  BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE
*  LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE,
*  AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE,
*  OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TO
*  MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE.
*
*  THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE
*  WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OF
*  LAWS PRINCIPLES.  ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING THEREOF AND
*  RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN FRANCISCO, CA, UNDER
*  THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE (ICC).
*
*****************************************************************************/
/*****************************************************************************
 *
 * Filename:
 * ---------
 *  BootupInitConfig.h
 *
 * Project:
 * --------
 *  MAUI
 *
 * Description:
 * ------------
 *  Initializations during bootup
 *
 * Author:
 * -------
 * -------
 *
 *============================================================================
 *             HISTORY
 * Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
 *------------------------------------------------------------------------------
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 *------------------------------------------------------------------------------
 * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
 *============================================================================
 ****************************************************************************/


/*
 * Please declare your initialization handler here rather the framework's table.
 * DO NOT include any header file or declare any function prototype here,
 * we will generate them for applications. That is, the only thing you have to do
 * is, adding an entry with your compile option:
 *
 * #ifdef __MMI_MYAPP__
 *     MMI_BOOTUP_INIT_REG(mmi_myapp_init)
 * #endif
 *
 * Its prototype should be:
 *  mmi_ret mmi_myapp_init(mmi_event_struct *evt)
 * But you don't need to declare it here.
 *
 * MMI_BOOTUP_INIT_ADP() is an adaptor only for old void (*)(void) initalization
 * functions, newly-added code should register by MMI_BOOTUP_INIT_REG().
 *
 * ----------------------------------------------------------------------------
 * You can modify and check in this file by yourself, and do not need to inform
 * bootup owner.
 * ----------------------------------------------------------------------------
 */


/* ------------------------------------------------------------
 *  [Normal Init]
 *  Initalizations of normal applications & services
 *  Please use MMI_BOOTUP_INIT_REG() to register your init proc.
 * ------------------------------------------------------------ */
MMI_BOOTUP_INIT_REG_BEGIN(EVT_ID_SRV_BOOTUP_NORMAL_INIT)
    MMI_BOOTUP_INIT_ADP(applib_dt_init_time)
#ifdef __TCPIP__
    MMI_BOOTUP_INIT_REG(srv_cbm_init)
    MMI_BOOTUP_INIT_REG(mmi_cbm_app_init)
    MMI_BOOTUP_INIT_REG(srv_dtcnt_init)
    MMI_BOOTUP_INIT_ADP(InitConnManageApp)
#endif /* __TCPIP__ */
#if defined (__MMI_CBM_ALWAYS_ASK__) || defined(__MMI_CBM_BEARER_FALLBACK__)
    MMI_BOOTUP_INIT_REG(cui_cbm_init)
#endif
    MMI_BOOTUP_INIT_REG(mmi_nw_info_signal_on_mode_decided)
    MMI_BOOTUP_INIT_REG(mmi_prof_app_init)
#ifdef __MMI_DOWNLOAD_AGENT__
    MMI_BOOTUP_INIT_ADP(mmi_da_init_app)
#endif
    MMI_BOOTUP_INIT_ADP(PhnsetReadWallpaper)
#if defined(__MMI_UI_TECHNO_IDLESCREEN_BAR__)
    MMI_BOOTUP_INIT_ADP(PhnsetReadIdleClockType)
#endif
    MMI_BOOTUP_INIT_ADP(PhnsetReadNvramScrSvrSettings)
    MMI_BOOTUP_INIT_ADP(srv_callset_init_nvram)
#ifdef __MMI_WORLD_CLOCK_SUBLCD_SETTING__
    MMI_BOOTUP_INIT_ADP(ReadValueCityNVRAM)
#endif
#if defined(__MMI_RING_COMPOSER__) && defined(__MMI_IMELODY_SUPPORT__)
    MMI_BOOTUP_INIT_ADP(InitRingToneComposer)
#endif
#ifdef __MMI_STOPWATCH__
    MMI_BOOTUP_INIT_ADP(InitStopwatchNVRAM)
#endif
#ifdef __MMI_IMPS__
/* under construction !*/
/* under construction !*/
#endif
#if defined(__MMI_VCARD__) || defined(__MMI_VCALENDAR__) || defined(__MMI_VBOOKMARK__)
    MMI_BOOTUP_INIT_ADP(mmi_vobj_init)
#endif
#ifdef __MMI_USER_CTRL_PLMN_SUPPORT__
    MMI_BOOTUP_INIT_ADP(mmi_netset_init_user_ctrl_plmn)
#endif
#ifdef __MMI_EBOOK_READER__
    MMI_BOOTUP_INIT_ADP(InitEbookApp)
#endif
#ifdef __MMI_SEARCH_WEB__
    MMI_BOOTUP_INIT_ADP(mmi_search_web_init)
#endif
#if defined(OPERA_V10_BROWSER) || defined(__GADGET_SUPPORT__)
    MMI_BOOTUP_INIT_ADP(npplg_av_main_initialize)
#endif

    MMI_BOOTUP_INIT_REG(mmi_idle_main_evt_hdlr)    /* Idle. */
    MMI_BOOTUP_INIT_REG(cui_dialer_main_evt_hdlr)  /* Dialr CUI. */
#if defined (__MMI_HIJRI_CALENDAR__)
    MMI_BOOTUP_INIT_REG(mmi_hijri_init)
#endif
#ifdef SYNCML_DM_SUPPORT
    MMI_BOOTUP_INIT_REG(mmi_dmui_init)
#endif /* SYNCML_DM_SUPPORT */

#ifdef __MMI_UDX_SUPPORT__
    MMI_BOOTUP_INIT_ADP(mmi_udx_init)
#endif
#ifdef __MMI_NOTE_APP__
	MMI_BOOTUP_INIT_ADP(mmi_note_app_init)
#endif

#ifdef __NMC_SUPPORT__
	MMI_BOOTUP_INIT_REG(mmi_nmc_init)
#endif

#if defined(__GPS_SUPPORT__) || defined(__BT_GPS_SUPPORT__)
    MMI_BOOTUP_INIT_REG(mdi_gps_uart_init)
    MMI_BOOTUP_INIT_REG(gps_uart_state_init)
    MMI_BOOTUP_INIT_REG(InitGPSSetting)
    MMI_BOOTUP_INIT_REG(mmi_gps_mgr_init)
#endif
#if defined(__MMI_MAPBAR_GIS__) || defined(__MMI_SUNAVI_GIS__) || defined(__MMI_MIGO_GIS__)
    MMI_APP_INIT(mmi_gis_init());
#endif
#ifndef __DISABLE_SHORTCUTS_IMPL__
    MMI_BOOTUP_INIT_REG(mmi_shct_init)
#endif
MMI_BOOTUP_INIT_REG_END(EVT_ID_SRV_BOOTUP_NORMAL_INIT)



/* ------------------------------------------------------------
 *  [Before idle]
 *  Initializations of applications require SIM's status
 *  Please use MMI_BOOTUP_INIT_REG() to register your init proc.
 * ------------------------------------------------------------ */
MMI_BOOTUP_INIT_REG_BEGIN(EVT_ID_SRV_BOOTUP_BEFORE_IDLE)
#ifdef __MMI_SUBLCD__
    MMI_BOOTUP_INIT_REG(sub_lcd_evt_handler)
#endif
    MMI_BOOTUP_INIT_REG(srv_sim_ctrl_emit_sim_events)
    MMI_BOOTUP_INIT_REG(srv_eons_main_evt_hdlr)
    MMI_BOOTUP_INIT_REG(srv_nw_name_main_evt_hdlr)
    
#ifdef __TCPIP__    
    MMI_BOOTUP_INIT_ADP(mmi_dtcnt_app_init)
#endif /* __TCPIP__ */
#if defined(OPERA_V10_BROWSER)
    MMI_BOOTUP_INIT_ADP(opera_adp_init)
    MMI_BOOTUP_INIT_ADP(mmi_opera_brw_app_init)
#endif
#ifdef __MMI_GADGET_SUPPORT__
    MMI_BOOTUP_INIT_REG(mmi_wgtmgr_init_evt_hdlr)
    MMI_BOOTUP_INIT_REG(srv_wgtmgr_init_evt_hdlr)
#endif
    
    MMI_BOOTUP_INIT_ADP(initalize_main_menu_application)
    MMI_BOOTUP_INIT_ADP(InitSettingApp)
    MMI_BOOTUP_INIT_ADP(srv_callset_init)
#ifdef __MMI_BT_SUPPORT__
    MMI_BOOTUP_INIT_REG(mmi_bt_init_power)
#endif    
#ifdef __MMI_FILE_MANAGER__
    MMI_BOOTUP_INIT_ADP(mmi_fmgr_init_mmi)
#endif

    MMI_BOOTUP_INIT_ADP(mmi_fng_init_app)
    MMI_BOOTUP_INIT_ADP(mmi_phb_init)

#ifdef __MMI_VOIP__
    MMI_BOOTUP_INIT_ADP(mmi_voip_init)
#endif
#ifdef __MMI_POC__
    MMI_BOOTUP_INIT_ADP(mmi_poc_init)
#endif
#ifdef __MMI_IPSEC__
    MMI_BOOTUP_INIT_ADP(mmi_ipsec_init)
#endif /* __MMI_IPSEC__ */
#ifdef __MMI_EMAIL__
    MMI_BOOTUP_INIT_ADP(srv_email_init)
    MMI_BOOTUP_INIT_ADP(mmi_email_init)
#endif
    MMI_BOOTUP_INIT_ADP(OrgInit)
    MMI_BOOTUP_INIT_ADP(ExtraInit)
#ifdef __MMI_IMPS__
/* under construction !*/
/* under construction !*/
#endif
#ifdef __VOIP__
    MMI_BOOTUP_INIT_ADP(em_voip_log_init)
#endif
#ifdef __MMI_MExE_SUPPORT__
    MMI_BOOTUP_INIT_ADP(mmi_mexe_init)
#endif
#ifdef __MMI_SML_MENU__
    MMI_BOOTUP_INIT_ADP(mmi_sml_display_auto_locked_notification)
#endif
#ifndef __DISABLE_SHORTCUTS_IMPL__
    MMI_BOOTUP_INIT_REG(mmi_shct_init)
#endif
#ifdef __CCA_SUPPORT__
    MMI_BOOTUP_INIT_REG(mmi_cca_init)
#endif
#ifdef __MMI_PROV_MESSAGE_SUPPORT__
    MMI_BOOTUP_INIT_ADP(srv_provbox_init)
    MMI_BOOTUP_INIT_ADP(mmi_provboxui_init)
#endif /* __MMI_PROV_MESSAGE_SUPPORT__ */

#ifdef __PROVISIONING_SERVICE_SUPPORT__
    MMI_BOOTUP_INIT_REG(mmi_prov_serv_init)
#endif

#ifdef __MMI_OP01_DCD__
    MMI_BOOTUP_INIT_REG(mmi_dcd_set_normal_first_entry)
    MMI_BOOTUP_INIT_REG(mmi_dcd_set_normal_first_exit)
    MMI_BOOTUP_INIT_REG(dcd_custom_init)
    MMI_BOOTUP_INIT_REG(mmi_dcd_initialize)
#endif
#if defined(__MMI_DICTIONARY__)
    MMI_BOOTUP_INIT_ADP(mmi_dictionary_init)
#endif 
    MMI_BOOTUP_INIT_REG(mmi_bootup_set_icons)
#ifdef SYNCML_DM_SUPPORT
    MMI_BOOTUP_INIT_REG(mmi_dmui_init)
#endif /* SYNCML_DM_SUPPORT */

#ifdef __SYNCML_SUPPORT__
    /* should place mmi_syncml_int behind initalize_main_menu_application */
    MMI_BOOTUP_INIT_ADP(mmi_syncml_init)
#endif

#ifdef __MMI_SRV_TODOLIST__
    MMI_BOOTUP_INIT_ADP(srv_tdl_init)
#endif
#if (MMI_MAX_SIM_NUM >= 2)
    MMI_BOOTUP_INIT_ADP(mmi_mode_switch_query_init)
#endif
    MMI_BOOTUP_INIT_REG(srv_mode_switch_before_idle_event_hdlr)

#ifdef __MMI_DSM_NEW__
    MMI_BOOTUP_INIT_ADP(mr_system_intialize)	
#ifdef __HC_CALL_NEW__
    MMI_BOOTUP_INIT_ADP(InitHcCallApp)
#endif
#endif
    
MMI_BOOTUP_INIT_REG_END(EVT_ID_SRV_BOOTUP_BEFORE_IDLE)



/* ------------------------------------------------------------
 *  [Completed]
 *  For applications need to know bootup completed.
 *  Please use MMI_BOOTUP_INIT_REG() to register your init proc.
 * ------------------------------------------------------------ */
MMI_BOOTUP_INIT_REG_BEGIN(EVT_ID_SRV_BOOTUP_COMPLETED)
    MMI_BOOTUP_INIT_REG(srv_sim_ctrl_on_bootup_completed)
    MMI_BOOTUP_INIT_REG(srv_nw_info_on_bootup_completed)
    MMI_BOOTUP_INIT_REG(mmi_idle_main_evt_hdlr)
    MMI_BOOTUP_INIT_REG(srv_sat_bootup_complete_hdlr)
#ifdef WAP_SUPPORT
    MMI_BOOTUP_INIT_REG(wap_mmi_ready_on_bootup)
#endif /* WAP_SUPPORT */
#ifdef __CERTMAN_SUPPORT__
    MMI_BOOTUP_INIT_REG(mmi_certman_bootup_notify)
#endif /* __CERTMAN_SUPPORT__ */
#ifdef __MMI_NETSET_3G_ENHANCE__
    MMI_BOOTUP_INIT_REG(mmi_netset_3g_nocell_check_hdlr)
#endif /* __MMI_NETSET_3G_ENHANCE__ */

#ifndef __DISABLE_SHORTCUTS_IMPL__
    MMI_BOOTUP_INIT_REG(mmi_shct_init)
#endif

    /* -------------------------- Add your entry before this line -------------------------- */
#ifndef __MTK_TARGET__ /* on MODIS */
    MMI_BOOTUP_INIT_REG(mmi_bootup_adp_modis_on_bootup_completed) /* Should be the last entry */
#endif
/*** Do NOT add entry here ***/
MMI_BOOTUP_INIT_REG_END(EVT_ID_SRV_BOOTUP_COMPLETED)



/* ------------------------------------------------------------
 *  [Early Init]
 *  Framework or services required by other applications' init
 *  These procs will be called right after power on.
 * ------------------------------------------------------------ */
MMI_BOOTUP_INIT_REG_BEGIN(EVT_ID_SRV_BOOTUP_EARLY_INIT)
#ifndef __MTK_TARGET__ /* on MODIS */
    MMI_BOOTUP_INIT_REG(mmi_bootup_adp_modis_on_early_init) /* Should be the first entry */
#endif
    /* --- Add your entry under after line --- */
#if defined (__MMI_FRAMEWORK_BACKWARD_COMPATIBLE__) || defined (__MMI_FRAMEWORK_BACKWARD_COMPATIBLE_SPEC__)
    MMI_BOOTUP_INIT_ADP(InitUnicodeSupport)
#endif
    MMI_BOOTUP_INIT_ADP(gdi_init)
    MMI_BOOTUP_INIT_ADP(mdi_audio_init)
    MMI_BOOTUP_INIT_ADP(mdi_init)

#ifdef MOTION_SENSOR_SUPPORT

MMI_BOOTUP_INIT_REG(srv_sensor_init)

#endif


#ifdef __MMI_WEBCAM__
    MMI_BOOTUP_INIT_ADP(mdi_webcam_init)
#endif
#ifdef __MMI_USB_SUPPORT__
    MMI_BOOTUP_INIT_ADP(InitMMIUsbContext)
#endif /* __MMI_USB_SUPPORT__ */
#ifdef __MMI_WEBCAM__
    MMI_BOOTUP_INIT_ADP(mmi_webcam_init_context)
#endif
    MMI_BOOTUP_INIT_ADP(InitProtocolEvents)
    MMI_BOOTUP_INIT_ADP(InitFramework)
    MMI_BOOTUP_INIT_ADP(InitHardwareEvents)
    MMI_BOOTUP_INIT_ADP(srv_prof_init)
    /* InitTime is left in InitializeAll() */
    MMI_BOOTUP_INIT_ADP(setup_UI_wrappers)
    MMI_BOOTUP_INIT_ADP(PopulateResData)
    MMI_BOOTUP_INIT_ADP(PowerAndEndKeyHandler)
    MMI_BOOTUP_INIT_ADP(InitStringLanguage)
#ifdef __MMI_URI_AGENT__
    MMI_BOOTUP_INIT_ADP(srv_uriagent_init)
#endif
    MMI_BOOTUP_INIT_ADP(mmi_um_init)
    MMI_BOOTUP_INIT_ADP(cui_msg_viewer_init)
#if (defined(__MMI_UNIFIED_COMPOSER__) || defined(__MMI_MMS_STANDALONE_COMPOSER__))
    MMI_BOOTUP_INIT_ADP(mmi_uc_init)
#endif
#if (defined (MMS_SUPPORT) && defined(OBIGO_Q03C_MMS_V02))
    MMI_BOOTUP_INIT_ADP(mms_adp_mmi_sap_init)
#endif
#if (defined (MMS_SUPPORT) && defined(OBIGO_Q03C_MMS_V01))
    MMI_BOOTUP_INIT_ADP(mmi_mms_q03c_mms_v01_agent_init)
#endif
#ifdef __CERTMAN_SUPPORT__
	MMI_BOOTUP_INIT_ADP(mmi_certman_init)
#endif /*__CERTMAN_SUPPORT__ */
#ifdef __MMI_MMS_2__

	MMI_BOOTUP_INIT_ADP(srv_mms_init)
    MMI_BOOTUP_INIT_ADP(mmi_jsr_init)

#endif /* __MMI_MMS_2__ */
#ifdef __MOD_SMSAL__
    MMI_BOOTUP_INIT_ADP(InitMessageProtocolEventHandlers)
#endif /* __MOD_SMSAL__ */
	MMI_BOOTUP_INIT_ADP(srv_sim_acess_init)
#ifdef __MOD_SMSAL__
    MMI_BOOTUP_INIT_ADP(srv_sms_init)
    MMI_BOOTUP_INIT_ADP(InitMessagesApp)
#endif /* __MOD_SMSAL__ */
    MMI_BOOTUP_INIT_ADP(mmi_phb_init_protocol)
    
    /*
     * Call manahement needs to be initialized here because of SOS calls concept
     */
    MMI_BOOTUP_INIT_ADP(mmi_ucm_init)
    MMI_BOOTUP_INIT_ADP(srv_ucm_init)
    MMI_BOOTUP_INIT_ADP(srv_gcall_init)
#ifdef __CTM_SUPPORT__
    MMI_BOOTUP_INIT_ADP(srv_ctm_init)
    MMI_BOOTUP_INIT_ADP(mmi_ctm_init)
#endif /* __CTM_SUPPORT__ */
    MMI_BOOTUP_INIT_ADP(srv_ss_init)
    MMI_BOOTUP_INIT_ADP(mmi_ss_init)
    MMI_BOOTUP_INIT_ADP(initialize_UI_demo)
    MMI_BOOTUP_INIT_ADP(InitSimDetection)
    MMI_BOOTUP_INIT_ADP(InitService)
    MMI_BOOTUP_INIT_ADP(InitCPHS)
    MMI_BOOTUP_INIT_ADP(srv_callset_early_init)
    MMI_BOOTUP_INIT_ADP(mmi_callset_early_init)

#ifdef __MMI_ENGINEER_MODE__    /* For saperate MMI feature by project */
    MMI_BOOTUP_INIT_ADP(InitEngineerMode)
#endif
#ifdef __MMI_FACTORY_MODE__     /* For saperate MMI feature by project */
    MMI_BOOTUP_INIT_ADP(InitFactoryMode)
#endif
#ifdef __MMI_FILE_MANAGER__
    MMI_BOOTUP_INIT_ADP(mmi_fmgr_init)
#endif
    MMI_BOOTUP_INIT_ADP(srv_fmgr_init)
#ifdef __MMI_MY_FAVORITE__
/* under construction !*/
#endif
#ifdef __MMI_SOUND_RECORDER__
    MMI_BOOTUP_INIT_ADP(InitSoundRecorderApp)
#endif
    MMI_BOOTUP_INIT_ADP(mdi_audio_init_event_hdlrs)
    MMI_BOOTUP_INIT_ADP(InitIME)
    MMI_BOOTUP_INIT_ADP(srv_gpio_init)

    MMI_BOOTUP_INIT_REG(mmi_clog_init)

    MMI_BOOTUP_INIT_ADP(ATHandlerInit)
    MMI_BOOTUP_INIT_ADP(mmi_alm_interface_init)    
    MMI_BOOTUP_INIT_ADP(mmi_chset_init)
    MMI_BOOTUP_INIT_ADP(InitPhoneSetupCntx)
    MMI_BOOTUP_INIT_ADP(InitPhoneSetupApp)

#ifdef __MMI_BT_SUPPORT__
    MMI_BOOTUP_INIT_ADP(mmi_bt_init)
#endif
#ifdef __MMI_IRDA_SUPPORT__
    MMI_BOOTUP_INIT_ADP(mmi_irda_init_menu_hdlr)
#endif
#if defined(__MMI_FM_RADIO_SCHEDULE_REC__)
    MMI_BOOTUP_INIT_ADP(mmi_fmsr_init_app)
#endif
#ifdef __MMI_BG_SOUND_EFFECT__
    MMI_BOOTUP_INIT_ADP(mmi_bgsnd_init)
#endif
    MMI_BOOTUP_INIT_ADP(mmiapi_init_engine)
#ifdef OBIGO_Q05A
    MMI_BOOTUP_INIT_ADP(wap_task_init)
#endif
#ifdef __SPA_SUPPORT__
    MMI_BOOTUP_INIT_ADP(mmi_spa_init)
#endif
#if defined(__MMI_NITZ__)
    MMI_BOOTUP_INIT_ADP(mmi_init_nitz)
#endif
#ifdef __MMI_VRSD__
    MMI_BOOTUP_INIT_ADP(mmi_vrsd_init)
#endif
#ifdef __MMI_VRSI__
    MMI_BOOTUP_INIT_ADP(mmi_vrsi_init)
#endif
#ifdef __MMI_PICT_BRIDGE_SUPPORT__
    MMI_BOOTUP_INIT_ADP(mmi_pict_init)
#endif
#ifdef __MMI_AUTO_ANSWER_MACHINE__
    MMI_BOOTUP_INIT_ADP(mmi_autoam_init_app)
#endif
#ifdef __MMI_RMGR__
    MMI_BOOTUP_INIT_ADP(mmi_rmgr_init)
#endif
#ifdef __MMI_WAP_PROF__
    MMI_BOOTUP_INIT_REG(mmi_wap_prof_init)
#endif /* __MMI_WAP_PROF__ */
#ifdef __MMI_MMS_BGSR_SUPPORT__
    MMI_BOOTUP_INIT_ADP(mmi_mms_bgsr_init)
#endif
    MMI_BOOTUP_INIT_ADP(mmi_nmgr_initialize)
#ifdef __MMI_OP11_HOMESCREEN__
/* under construction !*/
#endif
#if defined( __MMI_OP11_HOMESCREEN_0301__) || defined(__MMI_OP11_HOMESCREEN_0302__)
    MMI_BOOTUP_INIT_ADP(mmi_op11_hs32_init)
#endif
#ifdef __MMI_BROWSER_2__
    MMI_BOOTUP_INIT_REG(mmi_brw_app_if_browser_app_init) /* For Generic Browser */
#endif
#ifdef WAP_SUPPORT
    MMI_BOOTUP_INIT_ADP(mmi_brw_push_inbox_init) /* For Generic Push Inbox */
#endif /* WAP_SUPPORT */

    MMI_BOOTUP_INIT_ADP(mmi_clipboard_init)
    /* Initialize vre application */
#ifdef  __VRE__
    MMI_BOOTUP_INIT_ADP(vm_vre_init)
#ifdef __VRE30_AM__
    MMI_BOOTUP_INIT_ADP(mmi_am_init)
#endif
#endif /* __VRE__ */
#ifdef  __FLAVOR_VENDOR_SDK__
    MMI_BOOTUP_INIT_ADP(mmi_devapp_init)
#endif
    MMI_BOOTUP_INIT_ADP(InitAlarmFrameWork)
    MMI_BOOTUP_INIT_ADP(srv_gpio_setting_init)
    MMI_BOOTUP_INIT_ADP(srv_backlight_init_context_early)
#ifdef __MMI_POWER_ON_OFF_DISPLAY__
    MMI_BOOTUP_INIT_ADP(PhnsetReadPwrOnOffDisp)
#endif
#ifdef __MMI_AVATAR__
    MMI_BOOTUP_INIT_ADP(mmi_avatar_init)
#endif
    MMI_BOOTUP_INIT_ADP(PhnsetInitSetTimeNDateNvram)
    MMI_BOOTUP_INIT_ADP(InitSettingNVRAM)
#if defined(__MMI_THEMES_APPLICATION__)
    MMI_BOOTUP_INIT_ADP(InitThemes)
#endif
    MMI_BOOTUP_INIT_ADP(SetModeSpeechVolume)
    MMI_BOOTUP_INIT_REG(srv_sim_ctrl_init)
    MMI_BOOTUP_INIT_REG(srv_nw_info_init)
    MMI_BOOTUP_INIT_REG(mmi_charger_enable_charging_icon)
    MMI_BOOTUP_INIT_REG(mmi_nw_adp_init)
    MMI_BOOTUP_INIT_REG(srv_earphone_bootup_callback)
    MMI_BOOTUP_INIT_REG(mmi_charger_bootup_callback)
    MMI_BOOTUP_INIT_REG(srv_nw_name_main_evt_hdlr)
    MMI_BOOTUP_INIT_REG(srv_eons_main_evt_hdlr)
    MMI_BOOTUP_INIT_REG(mmi_nw_info_on_early_init)
    MMI_BOOTUP_INIT_REG(mmi_nw_info_signal_on_early_init)
#ifdef SYNCML_DM_SUPPORT
    MMI_BOOTUP_INIT_REG(mmi_dmui_init)
#endif /* SYNCML_DM_SUPPORT */
    MMI_BOOTUP_INIT_REG(mmi_ssv_main_evt_hdlr)
    MMI_BOOTUP_INIT_REG(mmi_slk_main_evt_hdlr)
MMI_BOOTUP_INIT_REG_END(EVT_ID_SRV_BOOTUP_EARLY_INIT)
